package com.zelix;

import java.util.*;

class wm
    implements an
{

    private final vm a;
    private HashMap b;
    private ArrayList c;
    private sy d;
    private static String z[];

    wm(vm vm1)
    {
        a = vm1;
        b = new HashMap();
        c = new ArrayList();
        d = new sy(5, 97, 7);
    }

    public void a(int i, int j, int k)
    {
        d.b(vm.a.a(i), vm.a.a(j), vm.a.a(k));
    }

    ArrayList a()
    {
        return c;
    }

    HashSet a(int i)
    {
        return (HashSet)b.get(vm.a.a(i));
    }

    public an a(vm vm1)
    {
        return vm1.g();
    }

    public boolean b(int i, int j, int k)
    {
        boolean flag = d.a(vm.a.a(i), vm.a.a(j), vm.a.a(k));
        return flag;
    }

    public boolean a(zm zm1, int i, bn bn1)
    {
        ArrayList arraylist;
        int j;
        HashSet hashset;
        zm zm2;
        boolean flag;
        flag = wn.C;
        kd kd1 = (kd)vm.a(a).get(i);
        if(kd1.f() != 83)
            break MISSING_BLOCK_LABEL_389;
        sn sn1 = vm.b(a)[i];
        arraylist = new ArrayList();
        vm.a(a, arraylist, bn1, i, sn1.c().length + 1, new HashSet());
        j = sn1.c().length + 2;
        hashset = new HashSet(13);
        zm2 = new zm(a, zm1, 2, 0);
        zm2.a(hashset);
        if(i <= bn1.m()) goto _L2; else goto _L1
_L1:
        a.a(zm2, bn1, i, j);
        if(!flag) goto _L3; else goto _L2
_L2:
        Vector vector;
        int k;
        vector = bn1.g();
        k = 0;
        if(!flag) goto _L5; else goto _L4
_L4:
        bn bn2 = (bn)vector.get(k);
        a.a(zm2, bn2, bn2.d() + 1, j);
        k++;
_L5:
        if(k < vector.size()) goto _L4; else goto _L3
_L3:
label0:
        {
            Integer integer = null;
            for(int l = 0; l < arraylist.size(); l++)
            {
                Object obj = arraylist.get(l);
                if(obj instanceof Integer)
                {
                    if(integer == null)
                    {
                        integer = (Integer)obj;
                        if(!flag)
                            continue;
                    }
                    if(obj.equals(integer))
                        continue;
                    c.add(z[2] + integer + z[3] + obj);
                    if(!flag)
                        break;
                }
                c.add(z[0] + obj);
                if(!flag)
                    break;
            }

            if(integer != null)
            {
                b.put(integer, hashset);
                if(!flag)
                    break label0;
            }
            c.add(z[1]);
        }
        return true;
        return false;
    }

    private static String z(char[] chs) {
        byte key = 0;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key =0x23;
                    break;
                case 1:
                    key =62;
                    break;
                case 2:
                    key =100;
                    break;
                case 3:
                    key =61;
                    break;
                case 4:
                    key =101;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[];
        as = new String[4];
        as[0] = z("`Q\021Q\001\003P\013IEG[\020X\027NW\nXEFR\001P\000MJDM\nPW\020T\nM\036\005IEb\177(r$g\036^\035".toCharArray());
        as[1] = z("`Q\021Q\001\003P\013IEG[\020X\027NW\nXEFR\001P\000MJDM\nPW\020T\nM\036\005IEb\177(r$g".toCharArray());
        as[2] = z("nK\bI\fSR\001\035\000O[\tX\013W\036\024R\026JJ\rR\013P\036\024R\026PW\006Q\000\003_\020\035$br+|!\003\004D".toCharArray());
        as[3] = z("\017\036".toCharArray());
        z = as;

    }
}